function LoadImageClass() 
{ 
    var me = this; 
    var a = [];    //图片数组 
    this.Idx = 0;    //已经被加载的图片个数 
    this.Num = 0;    //图片总数

    //下载图片 
    this.LoadImages = function(s) 
    { 
        a = s.split(","); 
        this.Num = a.length; 
        DownImg(); 
    };

    function DownImg() 
    { 
        var i=new Image(); 
        var f = true; 
        i.onload= function() 
        { 
            if (f) 
            { 
                f = false ;
                me.Idx++; 
                if (me.LoadIng) me.LoadIng(); 
                if (me.Idx<me.Num) {setTimeout(DownImg,10); }
                else if(me.CallBack) me.CallBack(a); 
            } 
        }; 
        i.src = a[me.Idx]; 
    } 
} 

var oCounter = document.getElementById("counter");

var t=new LoadImageClass();  
t.LoadIng = function() 
{ 
	oCounter.innerHTML="<table border=0 width=100% height=100%><tr><td align=center>loading: "+Math.floor(t.Idx/t.Num*100)+"%<div style='width:200px;height:20px;border:5px solid #99D5FF;text-align:left;'>"
+"<div style=\"width:"+Math.floor(t.Idx/t.Num*200)+"px;height:20px;background:#99D5FF;\"></div></div></td></tr></table>"; 
}; 

t.CallBack = function(arr) 
{ 
	oCounter.innerHTML = "<table width=100% height=100% border=0><tr><td align=center>100% done!<div style='width:200px;height:20px;border:5px solid #99D5FF;background:#99D5FF'></div></td></tr></table>";
	setTimeout("oCounter.style.display='none';document.getElementById(\"help\").style.display=\"none\";",1000);	
	
}; 

	
t.LoadImages(
'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t1v13.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t2v13.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t3v13.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/normal/t4v13.gif,'


+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t1v13.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t2v13.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t3v13.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v1.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v2.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v3.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v4.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v5.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v6.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v7.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v8.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v9.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v10.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v11.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v12.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/t4v13.gif,'

+'http://jsspider.googlecode.com/svn/trunk/ig/images/reverse/listBg.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/listBg.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/back.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/felt.gif,'
+'http://jsspider.googlecode.com/svn/trunk/ig/images/optionBg.gif'); 
